import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.UUID;


public class Tester {

	public static void main(String[] args) throws Exception {
		SBWSController s = new SBWSController();
		
		String number = UUID.randomUUID().toString();
		
		//System.out.println(s.registerUser(number, "Marco Naetlitz", "marco@naetlitz.de"));
		//System.out.println(s.isUser(number));
		//System.out.println(s.makePayment(number, 350.40, "Grillen"));
		
//		List<String> bla = new ArrayList<String>();
//		bla.add("015158088821");
//		bla.add("017661028489");
//		System.out.println(s.getFellowUsers(bla).toString());
		
		Set<SBPayment> p = s.invoice("A");
		
		List<SBPayment> list = new ArrayList<>(p);
		for(SBPayment x : list) {
			System.out.println(x.getParticipants());
		}
		
		
	}

}
